@charset "UTF-8";
/* CSS para Jardí Botànic */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Times New Roman", serif;
    background-color: #f3e6d8;
    color: #5a3a2e;
}

.titulo-historia {
    font-family: 'Snell Roundhand', cursive !important;
    color: #754127 !important;
    font-size: 48px !important;     
    text-align: center;
    margin: 0; 
}

.intro {
    margin: 20px auto; /* esto controla distancia desde arriba */
    padding: 20px;
}  

/* HERO */
.hero {
    position: relative;
	
}

.hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.hero-logo {
    position: absolute;
    top: 35%; /* Ajusta según quieras */
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #e7b8a2;
    padding: 30px 60px;
    border-radius: 100px;
    text-align: center;
}

.hero-logo-oval {
  position: absolute;
  top: 50%; /* ya lo tienes */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 200px;
  background-color: #e7b8a2;
  border-radius: 50%;
  display: flex;
  align-items: center;   /* centrado vertical */
  justify-content: center; /* centrado horizontal */
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.hero-logo-oval img {
    max-width: 130%;
    max-height: 130%;
}

/* BLOQUE HISTORIA */
.historia-bloque {
    background-color: #c0c3a6; /* color de fondo */
    padding: 50px 40px; /* espacio arriba y abajo */
}

.historia-contenido {
    display: flex;
    gap: 40px; /* espacio entre título y texto */
    max-width: 1000px;
    margin: 0 auto; /* centrar bloque */
    flex-wrap: wrap; /* responsive en pantallas pequeñas */
}

.historia-titulo {
    flex: 1; /* ocupa 1/3 o ajusta según quieras */
    font-family: 'Snell Roundhand', cursive; 
    font-size: 3rem;
    color: #7b846f; 
    display: flex;
    align-items: flex-start; /* alineación vertical */
}

.historia-text {
    flex: 2; 
    font-family: "Times New Roman", serif; 
    font-size: 1.2rem; /* tamaño del texto del carrusel */
    line-height: 1.6;
    color: #5a3a2e; 
    text-align: justify; 
	 margin-bottom: 20px; /* espacio entre párrafos */
}

/* NAV */
nav {
    background-color: #b9945d; /* amarillo mostaza boho */
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li a {
    color: #f9ecde; /* color crema */
    text-decoration: none;
    padding: 18px 25px;
    display: block;
    font-weight: bold;
    font-size: 1.2rem; /* tamaño más grande */
    font-family: "Snell Roundhand", cursive, serif;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #a8804c; /* mostaza más oscuro al pasar mouse */
    color: #fffbe6;
}

/* MAIN */
main {
     padding: 20px 40px;
}

.carrusel-cactus {
    margin: 60px auto;
    display: flex;
    justify-content: center;
}

.carousel {
    position: relative;
    width: 700px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 50%; /* Se ven 2 fotos */
    padding: 10px;
}

.carousel-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Flechas */
.carousel button {
    position: absolute;       
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(185, 148, 93, 0.9);
    color: #f9ecde;
    border: none;
    font-size: 2rem;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 10; /* encima de las imágenes */
}


.carousel .prev {
    left: 5px;
}

.carousel .next {
    right: 5px;
}

.carousel button:hover {
    background-color: #a8804c;
}

/* Sección destacada con imagen de fondo */
.destacat {
    background-image: url("img/1 index img 3.jpg.webp");
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
	width: 100%; /* ocupa todo ancho pantalla */
    height: 500px; /* altura más grande */
    display: flex; /* para centrar texto dentro */
    align-items: center;
    justify-content: center;
  }

.destacat p {
 background-color: rgba(201, 124, 79, 0.85); /* transparente para destacar texto */
    color: white;
    padding: 20px 40px;
    display: inline-block;
    border-radius: 5px;
    font-size: 1.3rem; /* un poco más grande */
}

/* FOOTER */
footer {
    background-color: #cfa37e;
    padding: 60px 20px;
    text-align: center;
	color: white;
}

/* Contenedor logos */
.footer-logos {
    display: flex;
	justify-content: center;
    align-items: center;
    gap: 60px; /* espacio entre logos */
    margin-bottom: 40px;
}

/* Tamaño logos */
.footer-logos img {
    height: 70px; /* Ajusta si los quieres más grandes */
    width: auto;
}

/* Logo Ajuntament y Generalitat (más pequeños e iguales) */
.footer-logos img:nth-child(2),
.footer-logos img:nth-child(3) {
    height: 65px;
}

/* Logo Jardines simplificado (MUCHO más grande) */
.footer-logos img:first-child {
    height: 140px;
}

/* Contenedor cajas */
.footer-boxes {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
	flex-wrap: wrap; /* para que no se rompa en pantallas pequeñas */
}

/* Estilo cajas */
.footer-box {
    background-color: #b9945d;
    color: #f9ecde;
    padding: 20px 40px;
    font-family: "Snell Roundhand", cursive, serif;
    font-size: 1.3rem;
    border-radius: 6px;
}

/* Copyright */
.footer-copy {
    margin-top: 15px;
    font-size: 0.9rem;
}
	